public class LiteralValueTest {//Literal value字面量值
    public static void main(String[] args) {
        System.out.println(185145214563214521L);
        System.out.println(3.14F);

        float f = 3.148632456321456315321F;
        double d = 3.148632456321456315321;

        System.out.println(f);
        System.out.println(d);

        System.out.println('a');
        System.out.println('尚');
        System.out.println('\'');

        System.out.println("=================================");
        System.out.println("chai\tis\ta\tgirl");//代表键盘的Tab键
        System.out.println("lin \tis\ta\tboy");

        System.out.println("==================");
        System.out.println("hello\bworld");//\b代表退一格，相当于键盘的Backspace
        System.out.println("hello\rhi");//\r把光标定位到行首
        System.out.println("hello\nworld");//\n代表换行

        System.out.println("hello\\world");//想要表示斜杆本身，需要用\\
        System.out.println("\"helloworld\"");//在双引号中想要表示普通双引号，需要用\"
    }
}
